<template>
	<view class="">
		<scroll-view scroll-x="" scroll-y="true" class="scroll" ref="scroll">
			<view></view>
		</scroll-view>
		<life-demo v-if="show"></life-demo>
	</view>
</template>

<script setup>
import { onMounted, ref } from 'vue';
const scroll = ref(null);
const show = ref(true);

setTimeout(()=>{
	show.value = false
},5000)
// console.log(scroll.value)
onMounted(()=>{
	console.log(scroll.value)
})
</script>

<style lang="scss" scoped>

</style>
